package java_jc_cs;

import java.util.Arrays;

public class _96 {
    int[ ] data = { 19 , 22 , 98 , 100 , 56 , 77 , 45 , 72 , 0 , -1 };
    void sort(){
        int length=data.length;
        for (int i=length-1;i>0;i--){
            for (int j=0;j<i;j++){
                if (data[j]>data[j+1]){
                    int t=data[j];
                    data[j]=data[j+1];
                    data[j+1]=t;
                }
            }
        }
        System.out.println(Arrays.toString(data));

    }

}
